C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / SortAsync Method / SortAsync<T>(IDataCollection<T>,SortDescription[],CancellationToken) Method
The data collection.
The sort descriptions that determine how the data will be sort.
The cancellation token.

In This Topic
SortAsync<T>(IDataCollection<T>,SortDescription[],CancellationToken) Method
In This Topic
Sorts the data collection according to the specified sort descriptions.
Syntax
'Declaration
 
Public Overloads Shared Function SortAsync(Of T As Class)( _
   ByVal dataCollection As IDataCollection(Of T), _
   ByVal sortDescriptions() As SortDescription, _
   Optional ByVal cancellationToken As CancellationToken _
) As Task
 

Parameters

dataCollection
The data collection.
sortDescriptions
The sort descriptions that determine how the data will be sort.
cancellationToken
The cancellation token.

Type Parameters

T
See Also